export default interface DashboardCanvasType {
    //基本属性
    id: string;
    label: string;

    //尺寸
    canvasDimensions: {
        width: number;
        height: number;
    };

    //样式选项
    styleProps: {
        backgroundImage?: string;
        backgroundColor?: string;
        backgroundRepeat?: string;
        backgroundSize?: string[],
        backgroundPosition?: string[],
        borderTop?: {
            color: string;
            width: number;
            style: string;
        };

        borderBottom?: {
            color: string;
            width: number;
            style: string;
        };

        borderLeft?: {
            color: string;
            width: number;
            style: string;
        };

        borderRight?: {
            color: string;
            width: number;
            style: string;
        };

        fontSize?: number;
        color?: string;
        fontFamily?: string;
        fontStyle?: string;
        fontWeight?: number;
        textDecoration?: string;
        textShadow?: {
            hShadow?: number;
            vShadow?: number;
            blur?: number;
            color: string;
        }
    }

    //封面图片
    coverImg?: string;

}

